package com.hxzy.shop.fallback.freight;

import com.github.pagehelper.PageInfo;
import com.hxzy.shop.dto.freight.req.*;
import com.hxzy.shop.dto.freight.resp.*;
import com.hxzy.shop.entity.ExpressThreshold;
import com.hxzy.shop.entity.FreightRule;
import com.hxzy.shop.entity.LogisticsCompanyInformation;
import com.hxzy.shop.entity.SameCityFreight;
import com.hxzy.shop.feign.freight.FreightFeign;
import com.hxzy.shop.vo.Result;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author ht
 * @Date 2021/8/11 9:12
 * @Version 1.0
 */
@Component
public class FreightFallback implements FreightFeign {
//    @Override
//    public Result<PageInfo<ExpressFreightListResp>> expressFreightList(ExpressFreightListReq req) {
//        return Result.demotion();
//    }
//
//    @Override
//    public Result<ExpressFreightDetailsResp> expressFreightDetails(ExpressFreightDetailsReq req) {
//        return Result.demotion();
//    }
//
//    @Override
//    public Result<Object> expressFreightAdd(ExpressFreightAddReq req) {
//        return Result.demotion();
//    }
//
//    @Override
//    public Result<Object> expressFreightEdit(ExpressFreightEditReq req) {
//        return Result.demotion();
//    }
//
//    @Override
//    public Result<Object> delete(ExpressFreightDetailsReq req) {
//        return Result.demotion();
//    }
//
//    @Override
//    public Result<FreightRule> freightRuleDetails() {
//        return Result.demotion();
//    }
//
//    @Override
//    public Result<Object> freightRuleEdit(FreightRuleEditReq req) {
//        return Result.demotion();
//    }
//
//    @Override
//    public Result<List<SameCityFreight>> sameCityFreightDetails() {
//        return Result.demotion();
//    }
//
//    @Override
//    public Result<Object> sameCityFreightAdd(SameCityFreightAddReq req) {
//        return Result.demotion();
//    }
//
//    @Override
//    public Result<PageInfo<DrugResp>> notSelectDrug(FreightNoSeletDrugReq freightNoSeletDrugReq) {
//        return Result.demotion();
//    }
//
//    @Override
//    public Result<PageInfo<ExpressFreightAreaListResp>> expressFreightAreaList(ExpressFreightAreaListReq req) {
//        return Result.demotion();
//    }
//
//    @Override
//    public Result<Boolean> getMerchant() {
//        return Result.demotion();
//    }
//
//    @Override
//    public Result<Void> status(ExpressThreshold threshold) {
//        return Result.demotion();
//    }
//
//    @Override
//    public Result<ExpressThreshold> detail() {
//        return Result.demotion();
//    }
//
//    @Override
//    public Result<Void> save(EditExpressThresholdReq req) {
//        return Result.demotion();
//    }
//
//    @Override
//    public Result<ExpressLogisticsResp> get(String orderId) {
//        return Result.demotion();
//    }

    @Override
    public Result<ExpressLogisticsResp> get(String orderId) {
        return Result.demotion();
    }

    @Override
    public Result<PageInfo<LogisticsCompanyInformation>> getList(LogisticsCompanyReq req) {
        return Result.demotion();
    }

//    @Override
//    public Result<ExpressLogisticsResp> getLogistics(LogisticsReq req) {
//        return Result.demotion();
//    }
//
//    @Override
//    public Result<Object> expressFreightRuleEdit(ExpressAndFreightRuleEditReq req) {
//        return Result.demotion();
//    }
//
//    @Override
//    public Result<Object> getFulfilRequirements() {
//        return Result.demotion();
//    }
//
//    @Override
//    public Result<ExpressFreightRuleDetailResp> getExpressFreightRuleDetail() {
//        return Result.demotion();
//    }
}
